﻿namespace IceCS.DesignPattern.Core.FactoryPattern.ACalc.Operations
{
    public class OperationDivide : Operation
    {
        public override double GetResult()
        {
            return NumB == 0 ? -1D : NumA / NumB;
        }
    }
}
